<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
		if($this->_helper->flashMessenger->hasMessages()){
			$this->view->messages = $this->_helper->flashMessenger->getMessages();
		}
        $form = new Application_Form_FormLogin();
        $this->view->form = $form;
        //$form = new Application_Form_FormRegister();
        //$this->view->formRegister = $form;
    }

    public function indexAction()
    {
        // action body
    }


}

